package com.wolfpire.news.service;

import java.util.List;

import com.wolfpire.system.common.Page;
import com.wolfpire.system.common.base.service.IBaseHibernateService;
import com.wolfpire.system.model.New;
import com.wolfpire.system.model.Notice;
import com.wolfpire.system.model.Profession;
import com.wolfpire.system.model.User;

/**
 * 专业模块 业务层接口
 * @author xp
 *
 */
public interface NewService extends IBaseHibernateService<New, Long> {
	

	/**
	 * 获取账户信息
	 * @param account
	 * @return
	 */
	public New getByTitle(String title);
	
	/**
	 * 查询用户列表(带分页)
	 * @param page<User> 
	 * @param filterUser
	 * @return
	 */
	public Page<New> setPageDataList(Page<New> page, New filterNew);
	
	public List<New> list(int num);
	
     public New findFrontNew(long id);
	
	 public New findNextNew(long id);
	 
	 public New currentNew(long id);
	
}
